package cn.chengpengper.springframework.test.bean;

import java.util.HashMap;
import java.util.Map;

public class UserDao {

    private static Map<String,String> map = new HashMap<>();

    static {
        map.put("1001","zhangsan");
        map.put("1002","wangwu");
        map.put("1003","lisi");
        map.put("1004","CatWing");
    }

    public String queryUserName(String id){
        return map.get(id);
    }
}
